|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.plaf.ComponentUI
javax.swing.plaf.ButtonUI
org.jvnet.flamingo.common.ui.CommandButtonUI
org.jvnet.flamingo.common.ui.BasicCommandButtonUI
public class BasicCommandButtonUI
Basic UI for command button JCommandButton.
| Field Summary | |
|---|---|
static java.lang.String |
DONT_DISPOSE_POPUPS
Client property to mark the command button to not dispose the popups on activation. |
static java.lang.String |
EMULATE_SQUARE_BUTTON
Client property to mark the command button to have square corners. |
| Constructor Summary | |
|---|---|
BasicCommandButtonUI()
Creates a new UI delegate. |
|
| Method Summary | |
|---|---|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
|
java.awt.Rectangle |
getActionClickArea()
Returns the click area associated with the default button action. |
java.awt.Point |
getKeyTipAnchorCenterPoint()
|
java.awt.Rectangle |
getPopupClickArea()
Returns the click area associated with the popup button action. |
java.awt.Dimension |
getPreferredSize(javax.swing.JComponent c)
|
void |
installUI(javax.swing.JComponent c)
|
void |
paint(java.awt.Graphics g,
javax.swing.JComponent c)
|
void |
uninstallUI(javax.swing.JComponent c)
|
void |
update(java.awt.Graphics g,
javax.swing.JComponent c)
|
| Methods inherited from class javax.swing.plaf.ComponentUI |
|---|
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String EMULATE_SQUARE_BUTTON
public static final java.lang.String DONT_DISPOSE_POPUPS
disposePopupsActionListener,
Constant Field Values| Constructor Detail |
|---|
public BasicCommandButtonUI()
| Method Detail |
|---|
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
public void installUI(javax.swing.JComponent c)
installUI in class javax.swing.plaf.ComponentUIpublic void uninstallUI(javax.swing.JComponent c)
uninstallUI in class javax.swing.plaf.ComponentUI
public void update(java.awt.Graphics g,
javax.swing.JComponent c)
update in class javax.swing.plaf.ComponentUI
public void paint(java.awt.Graphics g,
javax.swing.JComponent c)
paint in class javax.swing.plaf.ComponentUIpublic java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
getPreferredSize in class javax.swing.plaf.ComponentUIpublic java.awt.Rectangle getActionClickArea()
CommandButtonUI
getActionClickArea in class CommandButtonUIpublic java.awt.Rectangle getPopupClickArea()
CommandButtonUI
getPopupClickArea in class CommandButtonUIpublic java.awt.Point getKeyTipAnchorCenterPoint()
getKeyTipAnchorCenterPoint in class CommandButtonUI
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||